<script>
	import {
		houseArea
	} from '@/api/api.js';
	export default {
		onLaunch: function() {
			console.log('App Launch')
			// if (!uni.getStorageSync("token")) {
			//   uni.redirectTo({
			//   	url:"../login/index"
			//   })
			// }
		},
		onShow: async function() {

			// if (!uni.getStorageSync("areaList") && uni.getStorageSync('token')) {
			// 	let res = await houseArea()
			// 	console.log("筛选地区", res)
			// 	uni.setStorageSync("areaList", res.data)
			// }
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";

	/*每个页面公共css */
	page {
		height: 100%;
		background: #F7F8FA;
	}

	.u-popup__content {
		// background-color: transparent !important;
	}
</style>